package com.dq.mapper;

import com.dq.pojo.CareList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CareListMapper {
    public CareList getAllCaresById(String id);
    public int deleteCareById(@Param("uId")String uid,@Param("goodId") String gid);
    public int insertCare(@Param("id")String id,@Param("goodId")String gid);
    public int countListById(String id);
    public int countByGoodId(String id);
}
